←Select platform

AddPresentationStateImageReference(string,int[],int) Method

Summary

Adds a new item to the "Referenced Image Sequence" under the "Presentation State Module" from a disk file.

Syntax

C#
VB
Java
WinRT C#
C++
public void AddPresentationStateImageReference( 
   string imageFileName, 
   int[] frameNumbers, 
   int framesCount 
) 
Public Overloads Sub AddPresentationStateImageReference( _ 
   ByVal imageFileName As String, _ 
   ByVal frameNumbers() As Integer, _ 
   ByVal framesCount As Integer _ 
)  
public void AddPresentationStateImageReference(  
   string imageFileName, 
   int[] frameNumbers, 
   int framesCount 
) 
public void addPresentationStateImageReference(String  imageFileName, int[] frameNumbers, int framesCount) 
 function Leadtools.Dicom.DicomDataSet.AddPresentationStateImageReference(String,Int32[],Int32)(  
   imageFileName , 
   frameNumbers , 
   framesCount  
) 
public: 
void AddPresentationStateImageReference(  
   String^ imageFileName, 
   array<int>^ frameNumbers, 
   int framesCount 
)  

Parameters

imageFileName
Character string that contains the file name of the image(SOP Instance) to be referenced.

frameNumbers
An array which represents the frame numbers inside the image (SOP Instance) to which the presentation state will be applied.

framesCount
Value that represents the number of frames being set.

Remarks

This method will add a new item into the "Referenced Image Sequence" (0008,1140) under the "Presentation State Module", by passing the file name of the image (SOP Instance) to be referenced.

Example

For an example, refer to SetPresentationStateInformation.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly